package cn.iot.sys.service.impl;

import cn.iot.sys.dao.ProfessionDao;
import cn.iot.sys.entity.Profession;
import cn.iot.sys.service.ProfessionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProfessionServiceImpl implements ProfessionService {
    @Autowired
    private ProfessionDao professionDao;
    @Override
    public Profession list () {
        return professionDao.list();
    }
}
